<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>cookie</title>
	<script type="text/javascript">
       var oDate=new Date();

       oDate.setDate(oDate.getDate()+30);

       var Today=oDate.getFullYear()+"-"+(oDate.getMonth()+1)+'-'+oDate.getDate();

       alert(Today);
		
	</script>
</head>
<body>
	
</body>
</html>